/*
 * @Descripttion: 
 * @version: 
 * @Author: ChenXiang
 * @Date: 2021-09-30 16:49:55
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-09-30 16:52:18
 */
//MainPage.js
import React from 'react'
import ChildPage from './ChildPage'
export const MyContext = React.createContext(null);
function MainPage() {
	return (
		<div>
			<MyContext.Provider value='Hello world'>
				<ChildPage />
			</MyContext.Provider>
		</div>
	)
}
export default MainPage;
